package com.yx.robot.sdk.req;

public class RemoteControlParam {

    private volatile Movement movement;

    public Movement getMotion() {
        return movement;
    }

    public void setMotion(Movement movement) {
        this.movement = movement;
    }

    public enum Movement {
        LEFT(0), RIGHT(1), FORWORD(2), BACKWORD(3), STOP(4);
        private int type;

        Movement(int t) {
            type = t;
        }

        public int getType() {
            return type;
        }
    }
}
